<div id="banner_700x100<?php echo $module; ?>" class="banner">
  <?php 
  
  foreach ($banners as $banner) {
  	if(empty($banner['flash'])) {
  ?>
	  <?php if ($banner['link']) { ?>
	  <div style="margin-top:5px; margin-bottom:5px">
	  	<a href="<?php echo $banner['link']; ?>" target="_blank">
	  		<img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" title="<?php echo $banner['title']; ?>" />
	  	</a>
	  </div>
	  <?php } else { ?>
	  <div style="margin-top:5px; margin-bottom:5px"><img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" title="<?php echo $banner['title']; ?>" /></div>
	  <?php } ?>
  <?php } else { ?>
  	  <div style="margin-top:5px; margin-bottom:5px">
	 	 <embed src="<?php echo $banner['flash']; ?>" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" height="100" width="700" />
	  </div>
  <?php } ?>
  <?php } ?>
</div>